/*-----------------------------------------------------------------------------
 *  File          : stdio_s.h
 *  Notes         : Provide samll footprint functions
 *-----------------------------------------------------------------------------
 */
#ifndef _STDIO_S_H_
#define _STDIO_S_H_

//-----------------------------------------------------------------------------
//Mapping
//-----------------------------------------------------------------------------
#define putchar					putchar_s
#define getchar					getchar_s
#define printf					printf_s
#define sprintf					sprintf_s


//-----------------------------------------------------------------------------
//   Functions Defines
//-----------------------------------------------------------------------------
extern int putchar_s(int c);
extern int getchar_s(void);
extern int printf_s(const unsigned char *format, ...);
extern int sprintf_s(unsigned char *out, const unsigned char *format, ...);

#endif // _STDIO_S_H_
